﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BGM_Project_KPI_New.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Form.BGM_Project_KPI_New" %>
 
<%@ Register src="../Controls/Panel/UserPanel.ascx" tagname="UserPanel" tagprefix="uc3" %>
<%@ Register src="../Controls/Combo/YearCombo.ascx" tagname="year" tagprefix="uc8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>ตัวชี้วัดความสำเร็จ</title>
</head>
<body>
    <form id="form1" runat="server">

<Link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css">
<style type="text/css">
    .CaptionTd {
        width: 120px;
        text-align: right;
        padding: 0 0 0 0;
    }
    .InputTd {
        color: blue;
        width:120px;
        text-align: right;
        padding: 2px 0 5px 2px; 
    }
    .RadNum {
        text-align: right;
    }
</style>

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
       
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None"  > 
</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager runat="server" ID="RadManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="panelCommand">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panelCommand" 
                        LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="panelList" 
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="panelGrid"
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="panelInfo" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlTarket_t9">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panelKpiMonthly"/>
                    <telerik:AjaxUpdatedControl ControlID="panelKpiQuarterly" />
                    <telerik:AjaxUpdatedControl ControlID="panelKpiYearly" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="Grid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panelCommand" 
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="Grid" 
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">

        function onTextChange(sender) {
            if (sender.get_value() == "") {
                sender.set_text("");
            }
        } 

    </script>
</telerik:RadCodeBlock>

<div class="defaultFont">
<asp:Label ID="lblSeq_t9" runat="server" Visible="False" />
<asp:Label ID="bllType" runat="server" Visible="False" />
<asp:Label ID="lblProjectID" runat="server" Visible="False" /> 

<table style="width: 100%; height: 100%;">
    <tr style="height:40px"> 
        <td valign="top">
            <asp:Panel ID="panelCommand" runat="server">
                <div class="DivInfo" style="height: 22px; width:1400px;  position:fixed; top:0; left:0; z-index: 10000">
                    <ul class="treeview-list">
                        <li class="treeview-item" style="border: none">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="ShowGrid" runat="server" onclick="ShowGrid_Click"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/table.gif" />&nbsp;&nbsp;แสดงข้อมูลทั้งหมด</asp:LinkButton>                        
                        </li>
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="AddNew" runat="server" onclick="AddNew_Click"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/AddRecord.gif" />&nbsp;&nbsp;เพิ่มข้อมูลใหม่</asp:LinkButton>
                        </li>
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="Edit" runat="server"  visible="false"
                                onclick="Edit_Click"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Edit.gif" />&nbsp;&nbsp;แก้ไขข้อมูล</asp:LinkButton>
                        </li>                
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="Delete" runat="server" OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')" OnClick="Delete_Click"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;ลบข้อมูล</asp:LinkButton>
                        </li>
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="Save_AddNew" runat="server" Visible="false" 
                                onclick="Save_AddNew_Click" ValidationGroup="1"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;บันทึกข้อมูล</asp:LinkButton>
                        </li>
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="Save_Edit" runat="server" Visible="false" 
                                onclick="Save_Edit_Click" ValidationGroup="1"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;บันทึกข้อมูล</asp:LinkButton >
                        </li>                    
                        <li class="treeview-item">
                            <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="Cancel" runat="server"
                                Visible="false" onclick="Cancel_Click"><img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />&nbsp;&nbsp;ยกเลิกทั้งหมด</asp:LinkButton >
                        </li>
                    </ul>
                </div>
            </asp:Panel>
            
            <asp:Panel ID="panelInfo" runat="server" >
                <div class="DivInfo" style="height: 22px; position:fixed; top:0; right: 0; border-left: none; ">
                    <asp:Label runat="server" ID="lblInfo" Text="" Font-Bold="True" ForeColor="Red"></asp:Label>
                </div>
            </asp:Panel>
        </td>
    </tr>
    <tr>
        <td valign = "top" colspan="2">
            <div width="100%" class="TextSubHeader">
                รายการตัวชี้วัดความสำเร็จของ <b>"<asp:Label ID="lblProjectName" runat="server" />"</b>
                <asp:Label ID="lblMonthType" runat="server" Visible="False"/>
                <asp:Label ID="lblQuarterType" runat="server" Visible="False"/>
                <asp:Label ID="lblYear" runat="server" Visible="False"/>
                <asp:Label ID="lblStrat_map_seq" runat="server" Visible="False"/>
            </div>  
            <asp:Panel ID="panelList" runat="server" Visible="False" CssClass="defaultFont">
                <table width="100%" style="font-family: 'Segoe UI'; font-size: 13px" cellpadding="0" cellspacing="0" >
                    <tr valign="top"> 
                        <td colspan="4" align="left" valign="top" bgcolor="#7DA5E0" 
                            style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                                ขั้นตอนที่ 1 : กรอกชื่อตัวชี้วัดฯ และรายละเอียดของตัวชี้วัดฯ
                        </td>
                    </tr>
                    <tr valign="top">
                        <td width="200px" align="right" style="padding-top: 5px; height:38px">
                            <br />
                            ชื่อตัวชี้วัดความสำเร็จ :
                        </td>
                        <td width="10px"> 
                        </td>
                        <td align="left"class="InputTd" style="text-align: left"  colspan="2">
                            <br />
                            <asp:Label runat="server" ID="lblName_t9" AssociatedControlID="txtName_t9"></asp:Label>
                            <telerik:RadTextBox ID="txtName_t9" Runat="server" MaxLength="255" Width="400px" />
                            <asp:RequiredFieldValidator ID="v1_t9" runat="server" ControlToValidate="txtName_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                        </td>  
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            ประเภทตัวชี้วัดความสำเร็จ :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd" style="text-align: left" colspan="2">
                            <asp:Label runat="server" ID="lblKpiType_t9" AssociatedControlID="ddlKpiType_t9"></asp:Label>
                            <telerik:RadComboBox 
                                ID="ddlKpiType_t9" runat="server" AllowCustomText="true" 
                                CausesValidation="false" DataTextField="text" DataValueField="value" 
                                EmptyMessage="... เลือกประเภทตัวชี้วัด ..." Filter="Contains" 
                                OnClientTextChange="onTextChange" Width="150px" />
                                <asp:RequiredFieldValidator ID="v2_t9" runat="server" ControlToValidate="ddlKpiType_t9" 
                                ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                        </td> 
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            คำอธิบาย :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd" style="text-align: left" colspan="2">
                            <asp:Label runat="server" ID="lblDescr_t9" AssociatedControlID="txtDescr_t9"></asp:Label>
                            <telerik:RadTextBox ID="txtDescr_t9" Runat="server" Height="50px" MaxLength="256"
                                TextMode="MultiLine" Width="400px">
                            </telerik:RadTextBox>
                        </td> 
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            หน่วยวัด :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd" style="text-align: left" colspan="2">
                            <asp:Label runat="server" ID="lblUnit_t9" AssociatedControlID="txtUnit_t9"></asp:Label>
                            <telerik:RadTextBox ID="txtUnit_t9" Runat="server" MaxLength="50" Width="150px"></telerik:RadTextBox>
                            <asp:RequiredFieldValidator ID="v3_t9" runat="server" ControlToValidate="txtUnit_t9" ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator>
                        </td> 
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                            น้ำหนัก :
                        </td>
                        <td>
                        </td>
                        <td align="left" style="padding-top: 5px; padding-bottom: 15px;" class="InputTd">
                            <asp:Label runat="server" ID="lblWeight_t9" AssociatedControlID="txtWeight_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtWeight_t9" Runat="server" MaxLength="3"  
                                Width="150" MinValue="0" Value="0">
                                <NumberFormat GroupSeparator=", " ZeroPattern="n" />
                            </telerik:RadNumericTextBox>
                            <asp:RequiredFieldValidator ID="v4_t9" runat="server" ControlToValidate="txtWeight_t9" 
                            ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator>
                        </td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr valign="top">
                        <td colspan="4" align="left" valign="top" bgcolor="#7DA5E0" 
                            style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                            ขั้นตอนที่ 2 : กรอกเป้าหมายของตัวชี้วัดความสำเร็จ
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            <br />
                            ประเภทของเป้าหมาย :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd" colspan="2" style="padding-top: 5px; text-align: left" >
                            <br />
                            <asp:Label runat="server" ID="lblTarket_t9" AssociatedControlID="ddlTarket_t9"></asp:Label>
                            <telerik:RadComboBox ID="ddlTarket_t9" Runat="server" Width="300px" 
                                OnSelectedIndexChanged="ddlTarket_t9_SelectedIndexChanged" AutoPostBack="True">
                                <Items>
                                    <telerik:RadComboBoxItem runat="server" Text="เป้าหมายรวมรายเดือน" Value="2" meta:resourcekey="ColumnMonths"/>
                                    <telerik:RadComboBoxItem runat="server" Text="เป้าหมายรวมรายไตรมาส" Value="1" Selected="True" />
                                    <telerik:RadComboBoxItem runat="server" Text="เป้าหมายรวมรายปี" Value="0" />
                                </Items>
                            </telerik:RadComboBox>
                        </td> 
                    </tr>
                    <tr valign="top">
                        <td></td>
                        <td></td>
                        <td colspan="2">
                            <font color="red">*** ระบุกรอบเป้าหมายตัวชี้วัดฯเป็น "ตัวเลข" เท่านั้น</font>
                        </td>
                    </tr>
                    <tr valign="top">
                        <td colspan="4" style="padding: 5px 0 0 0 ;">
                             
                            <asp:Panel runat="server" ID="panelKpiMonthly" Width="100%" Visible="False">
                                <table style="font-family: 'Segoe UI'; font-size: 13px">
                                    <tr>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth1" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM1_t9" AssociatedControlID="txtTragetM1_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM1_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth2" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM2_t9" AssociatedControlID="txtTragetM2_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM2_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth3" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM3_t9" AssociatedControlID="txtTragetM3_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM3_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth4" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM4_t9" AssociatedControlID="txtTragetM4_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM4_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth5" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM5_t9" AssociatedControlID="txtTragetM5_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM5_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth6" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM6_t9" AssociatedControlID="txtTragetM6_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM6_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth7" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM7_t9" AssociatedControlID="txtTragetM7_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM7_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth8" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM8_t9" AssociatedControlID="txtTragetM8_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM8_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px;">
                                            <asp:Literal ID="lblMonth9" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM9_t9" AssociatedControlID="txtTragetM9_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM9_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="padding: 5px 0 0 10px; padding-bottom: 15px;">
                                            <asp:Literal ID="lblMonth10" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM10_t9" AssociatedControlID="txtTragetM10_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM10_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px; padding-bottom: 15px;">
                                            <asp:Literal ID="lblMonth11" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM11_t9" AssociatedControlID="txtTragetM11_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM11_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                        <td align="right" style="padding: 5px 0 0 10px; padding-bottom: 15px;">
                                                             
                                            <asp:Literal ID="lblMonth12" runat="server" Text=""></asp:Literal>
                                            <asp:Label runat="server" ID="lblTragetM12_t9" AssociatedControlID="txtTragetM12_t9"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTragetM12_t9" Runat="server" MaxLength="13" Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>

                            <asp:Panel runat="server" ID="panelKpiQuarterly" Width="100%" Visible="True">
                                <table style="font-family: 'Segoe UI'; font-size: 13px; margin-left: 69px; margin-bottom: 10px" >
                                    <tr>
                                        <td class="CaptionTd" >
                                            <asp:Literal ID="lblQuarter1" runat="server" Text=""></asp:Literal>
                                        </td>
                                        <td width="10px"></td>
                                        <td class="InputTd"">
                                            <asp:Label runat="server" ID="lblTargetQ1" AssociatedControlID="txtTargetQ1"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTargetQ1" Runat="server" MaxLength="13"  Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" DecimalSeparator="." 
                                                    GroupSeparator="," />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="CaptionTd" >
                                            <asp:Literal ID="lblQuarter2" runat="server" Text=""></asp:Literal>
                                        </td>
                                        <td width="10px"></td>
                                        <td class="InputTd">
                                            <asp:Label runat="server" ID="lblTargetQ2" AssociatedControlID="txtTargetQ2"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTargetQ2" Runat="server" MaxLength="13"  Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" DecimalSeparator="." 
                                                    GroupSeparator="," />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="CaptionTd" >
                                            <asp:Literal ID="lblQuarter3" runat="server" Text=""></asp:Literal>
                                        </td>
                                        <td width="10px"></td>
                                        <td class="InputTd">
                                            <asp:Label runat="server" ID="lblTargetQ3" AssociatedControlID="txtTargetQ3"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTargetQ3" Runat="server" MaxLength="13"  Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" DecimalSeparator="." 
                                                    GroupSeparator="," />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="CaptionTd" >
                                            <asp:Literal ID="lblQuarter4" runat="server" Text=""></asp:Literal>
                                        </td>
                                        <td width="10px"></td>
                                        <td class="InputTd">
                                            <asp:Label runat="server" ID="lblTargetQ4" AssociatedControlID="txtTargetQ4"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTargetQ4" Runat="server" MaxLength="13"  Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" DecimalSeparator="." 
                                                    GroupSeparator="," />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            
                            <asp:Panel runat="server" ID="panelKpiYearly" Width="100%" Visible="False">
                                
                                <table style="font-family: 'Segoe UI'; font-size: 13px; margin-left: 69px; margin-bottom: 10px">
                                    <tr>
                                        <td class="CaptionTd" >
                                            <asp:Literal ID="lblYearCaption" runat="server" Text=""></asp:Literal>
                                        </td>
                                        <td width="10px"></td>
                                        <td class="InputTd" >
                                            <asp:Label runat="server" ID="lblTargetYear" AssociatedControlID="txtTargetYear"></asp:Label>
                                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtTargetYear" Runat="server" MaxLength="13"  Width="150px" 
                                                                       MinValue="0" NumberFormat-DecimalDigits="0" 
                                                Value="0">
                                                <NumberFormat DecimalDigits="2" ZeroPattern="n" DecimalSeparator="." 
                                                    GroupSeparator="," />
                                                <EnabledStyle HorizontalAlign="Right" />
                                            </telerik:RadNumericTextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>

                        </td>
                    </tr>
                    <tr valign="top">
                        <td colspan="4" align="left" valign="top" bgcolor="#7DA5E0" 
                            style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                            ขั้นตอนที่ 3 : กรอกระดับคะแนนเพื่อใช้ในการประเมินผลความสำเร็จ
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="right" >
                            <br />
                            ระดับเป้าหมายที่ได้ 1 คะแนน :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd">
                            <br />
                            <asp:Label runat="server" ID="lblScore1_t9" AssociatedControlID="txtScore1_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtScore1_t9" Runat="server" MaxLength="13"  
                                width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="v12_t9" runat="server" ControlToValidate="txtScore1_t9" 
                            ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator></td>
                    </tr>
                    <tr valign="top">
                        <td align="right" >
                            ระดับเป้าหมายที่ได้ 2 คะแนน :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd">
                            <asp:Label runat="server" ID="lblScore2_t9" AssociatedControlID="txtScore2_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtScore2_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="v13_t9" runat="server" ControlToValidate="txtScore2_t9" 
                            ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr valign="top">
                        <td align="right" >
                            ระดับเป้าหมายที่ได้ 3 คะแนน :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd">
                            <asp:Label runat="server" ID="lblScore3_t9" AssociatedControlID="txtScore3_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtScore3_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="v14_t9" runat="server" 
                            ControlToValidate="txtScore3_t9" ErrorMessage="*" ValidationGroup="t8"> </asp:RequiredFieldValidator></td>
                    </tr>
                    <tr valign="top">
                        <td align="right" >
                            ระดับเป้าหมายที่ได้ 4 คะแนน :
                        </td>
                        <td>
                        </td>
                        <td align="left" class="InputTd">
                            <asp:Label runat="server" ID="lblScore4_t9" AssociatedControlID="txtScore4_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtScore4_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="v15_t9" runat="server" 
                            ControlToValidate="txtScore4_t9" ErrorMessage="*" ValidationGroup="t8" />
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="right" style=" padding-bottom: 15px;">
                            ระดับเป้าหมายที่ได้ 5 คะแนน :
                        </td>
                        <td>
                        </td>
                        <td align="left" style="padding-bottom: 15px;" class="InputTd">
                            <asp:Label runat="server" ID="lblScore5_t9" AssociatedControlID="txtScore5_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtScore5_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="v16_t9" runat="server" ControlToValidate="txtScore5_t9" 
                            ErrorMessage="*" ValidationGroup="t8"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr valign="top">
                        <td colspan="4" align="left" valign="top" bgcolor="#7DA5E0" 
                            style="padding: 5px; color: #FFFFFF; font-weight: bold; font-family: 'Segoe UI'; font-size: 13px;">
                            ขั้นตอนที่ 4 : กรอกประมาณการกรอบเป้าหมายของตัวชี้วัดความสำเร็จล่วงหน้า 3 ปี
                        </td>
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            <br />
                            ประมาณการ 1 ปีล่วงหน้า :
                        </td>
                        <td>
                        </td>
                        <td align="left" style="padding-top: 5px;" class="InputTd">
                            <br />
                            <asp:Label runat="server" ID="lblMTEF1_t9" AssociatedControlID="txtMTEF1_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtMTEF1_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td></td>
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px;">
                            ประมาณการ 2 ปีล่วงหน้า :
                        </td>
                        <td>
                        </td>
                        <td align="left" style="padding-top: 5px;" class="InputTd">
                            <asp:Label runat="server" ID="lblMTEF2_t9" AssociatedControlID="txtMTEF2_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtMTEF2_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td></td>
                    </tr>
                    <tr valign="top">
                        <td align="right" style="padding-top: 5px; padding-bottom: 15px;">
                            ประมาณการ 3 ปีล่วงหน้า :
                        </td>
                        <td>
                        </td>
                        <td align="left" style="padding-top: 5px; padding-bottom: 15px;" class="InputTd">
                            <asp:Label runat="server" ID="lblMTEF3_t9" AssociatedControlID="txtMTEF3_t9"></asp:Label>
                            <telerik:RadNumericTextBox CssClass="RadNum" ID="txtMTEF3_t9" Runat="server" MaxLength="13"  
                                Width="150px" MinValue="0" Value="0">
                                <NumberFormat ZeroPattern="n" />
                                <EnabledStyle HorizontalAlign="Right" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td></td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="panelGrid" runat="server" CssClass="defaultFont" 
                ScrollBars="Auto" BackColor="White" >
                <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="Grid"  runat="server" 
                    AllowMultiRowSelection="True" AllowPaging="True" AllowSorting="True" 
                    AutoGenerateColumns="False" EnableAJAX="True" OnItemCommand="Grid_ItemCommand"
                    GridLines="None" PageSize="1000" onitemdatabound="Grid_ItemDataBound" 
                    CellSpacing="0" >
                    <MasterTableView AllowMultiColumnSorting="true" 
                    DataKeyNames="Sequence" ClientDataKeyNames="Sequence" GroupLoadMode="Client"
                        Width="100%">
                            <CommandItemSettings ExportToPdfText="Export to PDF" />
                            <rowindicatorcolumn>
                            </rowindicatorcolumn>
                            <expandcollapsecolumn commandname="ExpandCollapseColumn_don" visible="True"></expandcollapsecolumn>
                            <groupbyexpressions>
                                <telerik:GridGroupByExpression>
                                    <groupbyfields>
                                        <telerik:GridGroupByField FieldName="bgm_kpi_type_name" HeaderText="ประเภทตัวชี้วัด" />
                                    </groupbyfields>
                                    <selectfields>
                                        <telerik:GridGroupByField FieldName="bgm_kpi_type_name" HeaderText="ประเภทตัวชี้วัด : " HeaderValueSeparator=" " />
                                    </selectfields>
                                </telerik:GridGroupByExpression>
                            </groupbyexpressions>
                            <nestedviewtemplate>
                                <br />
                                    <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="GridIn_t9" runat="server" AllowPaging="True" 
                                        AutoGenerateColumns="False" GridLines="None"  Width="100%"><mastertableview 
                                        cellspacing="-1">
                                        <rowindicatorcolumn>
                                            <HeaderStyle Width="20px" />
                                        </rowindicatorcolumn>
                                        <expandcollapsecolumn>
                                            <HeaderStyle Width="20px" />
                                        </expandcollapsecolumn>
                                        <Columns>
                                            <telerik:GridBoundColumn DataField="bgm_strat_kpi_descr" HeaderText="คำอธิบาย" 
                                                UniqueName="bgm_strat_kpi_descr" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" Width="355px" />
                                                <ItemStyle HorizontalAlign="Left" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="score_1" HeaderText="คะแนน 1" 
                                                UniqueName="score_1" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="right" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="score_2" HeaderText="คะแนน 2" 
                                                UniqueName="score_2" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="right" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="score_3" HeaderText="คะแนน 3" 
                                                UniqueName="score_3" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="right" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="score_4" HeaderText="คะแนน 4" 
                                                UniqueName="score_4" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="right" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn DataField="score_5" HeaderText="คะแนน 5" 
                                                UniqueName="score_5" Visible="true">
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemStyle HorizontalAlign="right" />
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                    </mastertableview>
                                </telerik:RadGrid>
                                <br />
                            </nestedviewtemplate>
                            <EditFormSettings>
                                <EditColumn UniqueName="EditCommandColumn1">
                                </EditColumn>
                            </EditFormSettings>
                        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                        <ColumnGroups>
                            <telerik:GridColumnGroup HeaderText="รายเดือน" Name="Monthly" 
                                HeaderStyle-HorizontalAlign="Center" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </telerik:GridColumnGroup>
                            <telerik:GridColumnGroup HeaderText="รายไตรมาส" Name="Quarterly" 
                                HeaderStyle-HorizontalAlign="Center" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </telerik:GridColumnGroup>
                            <telerik:GridColumnGroup HeaderText="รายปี" Name="Yearly" 
                                HeaderStyle-HorizontalAlign="Center" >
                                <HeaderStyle HorizontalAlign="Center" />
                            </telerik:GridColumnGroup>
                        </ColumnGroups>
                        <Columns>
                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                            <HeaderStyle HorizontalAlign="Center" Width="30px" />
                            <ItemStyle HorizontalAlign="Center" />
                        </telerik:GridClientSelectColumn>
                            
                        <telerik:GridTemplateColumn 
                            AutoPostBackOnFilter="true" 
                            CurrentFilterFunction="Contains" 
                            DataField="bgm_prj_kpi_name" 
                            FilterControlWidth="100%" 
                            HeaderStyle-HorizontalAlign="Center" 
                            HeaderText="ตัวชี้วัดความสำเร็จ" 
                            ShowFilterIcon="false" 
                            UniqueName="bgm_prj_kpi_name">
                            <ItemTemplate>
                                <asp:LinkButton ID="targetControl" runat="server" CommandName="TargetClick"
                                    Text='<%# Eval("bgm_prj_kpi_name") %>'></asp:LinkButton>
                            </ItemTemplate>
                            <HeaderStyle HorizontalAlign="Center" Width="220px"/>
                            <ItemStyle HorizontalAlign="Left" />
                        </telerik:GridTemplateColumn>  
                            
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" DataField="unit" 
                            FilterControlWidth="100%" HeaderText="หน่วยวัด" ShowFilterIcon="false" UniqueName="unit" Visible="true">
                            <HeaderStyle HorizontalAlign="Center" Width="60px" />
                            <ItemStyle HorizontalAlign="Center" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="bgm_prj_kpi_weight" DataFormatString="{0:N0}" FilterControlWidth="100%" HeaderText="ค่าน้ำหนัก" 
                            ShowFilterIcon="false" UniqueName="bgm_prj_kpi_weight" Visible="true" >
                            <HeaderStyle HorizontalAlign="Center" Width="60px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn ShowFilterIcon="false" Visible="true" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="5px" BackColor="Black" />
                            <ItemStyle HorizontalAlign="Right" BackColor="Black" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m1" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m1" meta:resourcekey="ColumnMonths" >
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m2" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m2" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m3" FilterControlWidth="100%"  ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m3" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m4" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m4" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m5" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m5" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m6" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m6" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m7" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m7" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m8" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m8" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m9" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m9" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m10" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m10" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m11" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m11" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_m12" FilterControlWidth="100%" ColumnGroupName="Monthly"
                            ShowFilterIcon="false" UniqueName="target_m12" meta:resourcekey="ColumnMonths">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn ShowFilterIcon="false" Visible="true">
                            <HeaderStyle HorizontalAlign="Center" Width="5px" BackColor="Black" />
                            <ItemStyle HorizontalAlign="Right" BackColor="Black" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_q1" FilterControlWidth="100%" ColumnGroupName="Quarterly"
                            ShowFilterIcon="false" UniqueName="target_q1" Visible="true" 
                            DataFormatString="{0:###,##0.##}">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_q2" FilterControlWidth="100%" ColumnGroupName="Quarterly"
                            ShowFilterIcon="false" UniqueName="target_q2" Visible="true" 
                                DataFormatString="{0:###,##0.##}">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_q3" FilterControlWidth="100%" ColumnGroupName="Quarterly"
                            ShowFilterIcon="false" UniqueName="target_q3" Visible="true" DataFormatString="{0:###,##0.##}">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_q4" FilterControlWidth="100%" ColumnGroupName="Quarterly"
                            ShowFilterIcon="false" UniqueName="target_q4" Visible="true" DataFormatString="{0:###,##0.##}">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn ShowFilterIcon="false" Visible="true">
                            <HeaderStyle HorizontalAlign="Center" Width="5px" BackColor="Black" />
                            <ItemStyle HorizontalAlign="Right" BackColor="Black" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" 
                            DataField="target_year" FilterControlWidth="100%" ColumnGroupName="Yearly"
                            ShowFilterIcon="false" UniqueName="target_year" Visible="true" meta:resourcekey="YearString"
                            DataFormatString="{0:###,##0.##}">
                            <HeaderStyle HorizontalAlign="Center" Width="80px" />
                            <ItemStyle HorizontalAlign="Right" />
                        </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                    <GroupingSettings CaseSensitive="False" />
                    <ClientSettings EnableRowHoverStyle="true">
                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>
            </asp:Panel>
        </td>
    </tr>
    </table>    
</div>
    </form>
</body>
</html>
